package com.example.service;

import com.example.pojo.PageBean;
import com.example.pojo.Plan;

import java.time.LocalDate;
import java.util.List;

public interface PlanService {
    PageBean page(Integer page, Integer pageSize, String planName, int departmentID, LocalDate begin, LocalDate end);

    void add(Plan plan);

    void delete(List<Integer> ids);

    void update(Plan plan);

    List<Plan> getAll();
}
